﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace RoadQualityEvalAPI.Models
{
    public class MapSectionModel
    {
        public int MapSectionId { get; set; }

        [Display(Name="Section Name")]
        public string Name { get; set; }

        [Display(Name = "Section Description")]
        [DataType(DataType.MultilineText)]
        public string Description { get; set; }

        [Display(Name = "Street Name")]
        public string StreetName { get; set; }

        [Display(Name = "Section Roughness Index")]
        public double RoughnessQuality { get; set; }

        [Display(Name = "Section Overall Quality")]
        public double OverallQuality { get; set; }

        [Display(Name = "Section Start Location")]
        public LocationModel StartLocation { get; set; }

        [Display(Name = "Section End Location")]
        public LocationModel EndLocation { get; set; }

        [Display(Name = "Number of potholes")]
        public IList<PotholeModel> Potholes { get; set; }

        [Display(Name = "Number of speedbumps")]
        public IList<SpeedbumpModel> Speedbumps { get; set; }

    }
}